dictionaryByOccurrence and wordAnagrams implemented