Java Assignment Solution - Produce a list of all words that have 6 or more anagrams