Implementation of methods to build a Huffman Tree, encode a normal text file, and decode a Huffman file.
Use huffman_encode(input_file, output_file) to encode your input file, writing the result into output file.
Use huffman_decode(input_file, output_file) to decode your input file, writing the result into output file.