Java Program to check number is palindrome or not