Update homework1.cc