Compress text files using Huffman coding