input: Write a python function to find palindromes in a list of strings.
  assert find_palindromes(['racecar', 'hello', 'level', 'world']) == ['racecar', 'level']
  assert find_palindromes(['madam', 'test', 'rotor', 'example']) == ['madam', 'rotor']
  assert find_palindromes(['python', 'refer', 'deified', 'java']) == ['refer', 'deified']
output: def find_palindromes(strings):
      return [s for s in strings if s == s[::-1]]