Huffman coding assignment