Exercises from http://learnyousomeerlang.com/content