excercises for the functional programming in scala book