scala excercises