updated README and cp.cpp