Pergunta de entrevista da empresa Suitsupply

create a function that checks if a word is a palindrome