Ruby solutions to some of the testfirst.org exercises