Getting most of the way through day 2 of scala.