Adding cp.cpp