use a HashMap to get Anagrams