added code to Makefile to compile cp.cpp