superclass test from tutorial http://www.learncpp.com/cpp-tutorial/112-basic-inheritance-in-c/