added anagrams soultion