Bit Array Example In Python