Write a program that uses a recursive function to determine if a string is a palindrome