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

added cp.cpp