my answers to exercises in book "Functional programming in Scala"