Huffman code and decode