adding the scala day 2 exercises