enable createHuffmanTree
enable generateCodingTable