Initial commit of main.c(inccomplete)