Capgemini Interview Question

Provide a function/algorithm for checking if a word is a palindrome.