Update and rename pro6.cpp to pro7.cpp