A c++ huffman encoder and decoder