Changed output from indexing. Added some toString(), removed initial capacity from some places as it might use up all memory. Some additional cleanup
Limit the number of new words in the query expansion