Adding inheritance along with composition examples.