A fast and simple implementation of Huffman's algorithm in PHP.