C++ Palindrome Recursion