The header is composed of:
- The type of the original file.
- The length (in terms of bits) of the compressed content.
- Each uniqe characters and their occurence in the original file.
Translate the characters in the original file into Huffman Code. Output the code eight by eight. ( each characters (0/1) of the code represents a bit, eight of them combined become a byte )