Solutions to the exercises presented in C++ Primer 5th Edition