COP2000 assignments in Ruby