assign3.cpp is changed