Added huffman code.