Huffman encoder I made for school