Python Hamming Weight Leetcode Interview