input: Write a python function to check if two strings are anagrams of each other.
  assert areAnagrams("listen", "silent") == True
  assert areAnagrams("triangle", "integral") == True
  assert areAnagrams("apple", "pabble") == False
output: def areAnagrams(str1, str2):
      return sorted(str1) == sorted(str2)