My solutions for http://aperiodic.net/phil/scala/s-99/