added code of anagrams