Solutions to some problems on RubyQuiz (www.rubyquiz.org)