Created a class for finding termfrequency and Idf values for all the
words in the corpus