Leetcode Single Number Python Programming