isPalindrome.cpp