Create main.c

this file contain the main code