C++ Program to check if a number is a Palindrome or not