added areAnagrams