added Huffman skeleton