Count Set Bit Leetcode Python Easy