added the cp.cpp file and updated the Makefile accordingly
Merge pull request #1 from khiguera/master

added the cp.cpp file and updated the Makefile accordingly