Update main.c

Create a window for the program