Check if a Word is a Palindrome

Output: