Huffman Coding week 4