Create and Inverted Index