Google Interview Question

Using your favorite language write a program to check a palindrome