Results 2 comments of Marina Minkin

I think that the problem is that line 21 `code = ( code + bl_count[ bits - 1 ] )

I think that replacing in line `28` ``` print bits,bin(next_code[bits-1])[2:].zfill(min_length) ```` with ``` print bits,bin(next_code[bits-1])[2:].zfill(bits) ``` should solve the issue