sample C program to do huffman compression on files