add ex-1.c for huffman compress and uncompress