Solutions for the Ruby Quiz tasks