Solution for LeetCode's Single Number