add huffman graph