Fixed palindrome program