Update HW2.scala

Just some tests for the existing methods.