Created the huffman-coding object that is returned and holds the map and type as well as the sequence.