General Motors (GM) Interview Question

2.) Write a program to determine if something is a palindrome.