added makefile and main.c
added makefile and main.c