Adding Inheritance Code samples