Design and Analysis of Algorithms 300: Huffman assignment