Update lab07.cpp