Solved Single Number problem