Pretty and neat solution for checking a integer number whether a palindrome or not