Added cp.cpp file