[Hakell Huffman coding] Translated Huffman tree to code table