Added new cp.cpp file