Create ex1.2.scala