My solutions to exercises from 'Programming in Scala' book