Encodes and Decodes characters in an inputted file.
The program takes a file as input, scans every character, and creates a hash table. It calculates the frequency of each character and builds a Huffman tree out of them from a set of smaller binary trees. The program allows for encoding and decoding of files using binary tree traversal.