Add huffman's algorithm