program to detect whether given number is palindrome or not