Assignment dealing with steps and lists in Ruby on Rails