simple anagram search via hashtable