Provided linear time Huffman tree building implementation in C++ if the symbol-weight list is ordered