Added BasicInheritance from Chapter 6.