ex1.scala simple Scala class.