Check if an  int is a palindrome