Solutions for the tasks and exercises from the book scala for the impacient