Your assignment is to finish implementing the Huffman encoding process to include decoding. Your solution will be called Huffman.java.
It will accept command line parameters using the following flags.
-i input file name
-o output file name
The program would then be executed as follows.
java Huffman -i war_and_peace.txt -o compressed_file.comp -e
java Huffman -i compressed_file.comp -o war_and_peace_decoded.txt -d
diff war_and_peace.txt war_and_peace_decoded.txt
…should return no differences
Correctness: You can lose up to 20% if your solution is not correct
Quality: You can lose up to 20% if your solution is poorly designed
Testing: You can lose up to 20% if your solution is not well tested
Explanation: You can lose up to 40% if you cannot explain your solution during the grading session