added main.c file