Add working is_palindrome().