Create exercise4.scala