My solution to Testfirst.org Ruby problems