hashmap to store words that are anagrams