add g++ programming Makefile and test file