working partA

TODO:
1: add stop words
2: change the compare function of the last reducer