Huffman Encoder for the Huffman Fetcher project