Solution to UVA 10945

Test if a word is a palindrome or not