Create main.c

Filled in a example program.