Huffman coding
Example with Huffman coding.