Huffman Tree Algorithm and Its Application