Update assignment1.cpp

Syntax Changes