Check whether given number is palindrome or not