Pregunta de entrevista de Suitsupply

create a function that checks if a word is a palindrome