update test1.sh and added some doc. to main.c