Bit Array Hackerrank Solution Python Idle Online