basic lossless data compression program using huffman coding