recursion to detect palindrome. (easy)
easy enough but took me far too long to do the recursive solution