Adnovum interview question

Write code which evaluates if a word is a palindrome.