To do list with objects in Ruby