Create lab1.c

Main application and entry point.