Build a todo list in Ruby