Check if a number is a palindrome using recursion.: Hard Programming Problem