Python Hamming Weight Leetcode Problem Solutions