Huffman endoce/decode using Thread Building Blocks library.