added makefile and main.c++