Single Number 2 Interviewbit Python