input: Write a python function to compare two strings for equality.
  assert compare_strings('hello', 'hello') == True
  assert compare_strings('hello', 'world') == False
  assert compare_strings('abc', 'abcd') == False
output: def compare_strings(str1, str2):
      return str1 == str2