Exercises of ruby the hard way