Second C++ HW Assignment