Palindrome using Recursion

Please tell where my code is wrong in the problem of palindrome using recursion