Huffman code and uncode