Palindrome check example