Finished day 3 of Scala