Huffman coding example in Haskell.