Update Assignment2.cpp

add branch