Homework1 for Intro to C++