Bit Array Hackerrank Solution Python Codepad Online