remove debuggery
create C version of core Huffman decoding