贪心算法实现Huffman编码