Create mainprogram.c