program to check whether the given number is palindrome