input: Write a python function to check if two strings are anagrams of each other.
  assert is_anagram("listen", "silent") == True
  assert is_anagram("triangle", "integral") == True
  assert is_anagram("apple", "pale") == False
  assert is_anagram("school master", "the classroom") == True
output: def is_anagram(str1, str2):
      str1_cleaned = ''.join(sorted(str1.replace(" ", "").lower()))
      str2_cleaned = ''.join(sorted(str2.replace(" ", "").lower()))
      return str1_cleaned == str2_cleaned