Solution for inverted index (1st attempt)

I think that’s all you have to do for reduce…