input: Write a python function to find all palindromes in a list of words.
  assert find_palindromes(['radar', 'apple', 'mom', 'dad', 'banana', 'civic']) == ['radar', 'mom', 'dad', 'civic']
  assert find_palindromes(['hello', 'world', 'level', 'deified', 'noon']) == ['level', 'deified', 'noon']
  assert find_palindromes(['python', 'java', 'kayak', 'refer']) == ['kayak', 'refer']
output: def find_palindromes(words):
      return [word for word in words if word == word[::-1]]