Adding Huffman codes HW