A few little exercises to learn scala.