makefile now works for current project as well as update for general template of c++ programs