demonstrate how to use inheritance in Scala.