main.c and Makefile added