implementing the Huffman algorithm for compressing and decompressing input files