Solutions for exercises on http://aperiodic.net/phil/scala/s-99/