A simple implementation of the Huffman encoding algorithm.