Exercises from the online book Ruby the Hard Way