Create HW2.scala

Q1 drafted. I like that if has a return value, so I can just return the if!