simple program that checks a word against a dictionary to find any anagrams