Added inverted index

Aadded inverted index