working on inverted index for lookup and wikipage