[1] finish huffman_compress