用binary-heap实现的构造huffman-tree.