[add] Added class to keep track of the top words
[fix] Fixed insert() method for TopWords.