Example code, to illustrate various C++ concepts