updated Lab1.scala and added jsy testcase