code for level 3 in progress

1. load source from file
2. plan to use regex to resolve this problem