modified makefile to compile newly added main.cpp