Added homework1.cpp