added cpp
finished cpp