added Makefile and rename main.cpp