HUFFMAN IS FINALLY WORKING HUZZAHHHH