add anagrams solution