def add_slot(name, value)
      slot = Slot.new(name, value)
      @slots[:name] = slot
      slot
    end
def add_slot(name, value)
      slot = Slot.new(name, value)
      @slots[:name] = slot
      slot
    end
Adds a slot from a name and a value.