Takes an input txt file and compresses it using the huffman coding algorithm