A simple implementation of Huffman Codes in C++