cs-104 homework assignments in c++