Solutions to various RubyMonk exercises