Create main.c

main.c is the main file (contains all of the functions so main too).