working on invertedIndex.ml