A program that demonstrates huffman encoding