Update Assingment2.cpp