Cses Problem Set Counting Bits In Python