Bit Array Python Example