Determine whether an integer is a palindrome. Do this without extra space.