WIP on huffman encoding/decoding