Checking to see if a user entered word is a palindrome.