Exercises from learn ruby the hard way