Test code for practice C++ based in the book: Think Like a Programmer - Anton Spraul (No Starch Press 2012)