Dynamic Huffman Coding