complete Huffman Code Generator