C++ practice exercises.