added main to huffman cpp