ex4_palindrome