cp.cpp working version
Merge pull request #3 from amyll001/master

cp.cpp working version