Update Lab1.scala

Fixed some things causing test errors
Merge pull request #2 from John459/patch-2

Update Lab1.scala