Some solutions to the learn_ruby exercises at testfirst.org