is_palindrome.cpp fix