Update Task2_z_4.cpp