Simple Java class that returns a list of the most frequently occurring words.