added cp.cpp
Merge pull request #1 from vdoan002/master

added cp.cpp