Debugging huffman encoding