Added more code - OOPs in Scala