Added check_palindrome