Adding template and makefile for c++