Huffman decoding algorithm using C++.