Inverted Index for a Search Engine