began writing recursivePalindrome method