huffman tree works