dictionary should tell if two words are anagrams