Adding Lab2.scala