Changed largestWordHash function to return the value
Added function that creates the inverted Document List