KWIC, assignment 1 & 4 are done

haven't answer the question in assignment 1
fixed some bugs to satisfy the assignment
assignment 2 completed
test