Start writing main program