Exercise 42: Demonstrating class, class inheritance and instance of classes