a simple compress and extract program based on Huffman coding