adding huffman code.