Create main.c

Main code file.