Creates an array of HuffmanNodes (more specifically, pointers to HuffmanNodes) based on the given character-frequency pairs.
characters: an array of char
frequencies: an array of int
length: the length of characters and frequencies arrays
returns: an array of HuffmanNode
Creates the Huffman tree reusing the given HuffmanNodes.
Comment: work on huffman.cpp
Attachment:- Assignment.zip