check a number is palindrome or not