palindrome in python for integer