Update main.c

add init fuction ,just test