implementaion of inverted_index in MapReduce freamwork