Update Assign5.cpp