input: Write a python function to check if a word is a palindrome.
  assert is_palindrome("Racecar") == True
  assert is_palindrome("hello") == False
  assert is_palindrome("Madam") == True
output: def is_palindrome(word):
      word = word.lower()
      return word == word[::-1]