Inheritance Test

Simple code to test out nested inheritance in C++