Assignment and project for intermediate C++ class