lab4.cpp file