add algorithm to build Huffman Tree quickly, this method is really smart.