Chapter 2 in C++ completed

If you would prefer I implement the solutions by creating classes for each question with a single main.cpp file, such as in Chapter 1 for C++, I can do that.