Done with the program to create the inverted index