add hashmap and insert problem anagrams