solution to Single Number