Add huffman encoding/decoding