working cp.cpp w/o timer
Merge pull request #5 from atran046/master

working cp.cpp w/o timer