add isPalindrome problem