add huffman tree