Find the singleton in an integer array in which every other number appears exactly twice.