added makefile and cpp file