changed a couple things in C++ assignment and submitted result