Add the huffman algorithm. (lacks reconstruction of codes)