Huffman Encoder & Decoder
From input.txt, make Huffman Table
Using Huffman Table, encode input.txt and save to Huffman_code.hbs
At last, encode Huffman Table and save to Huffman_table.hbs
ASCII code - Frequency - Codeword
...
EOD(1011001100100) + Stuffing bit(00000) is inserted to the end of the encoding string.
...
From Huffman_table.hbs, remake Huffman Table
Using Huffman Table, decode Huffman_code.hbs and write to output.txt
same with input.txt