C++ Programs from a college course which I consider to be of intermediate difficulty