code: def set_item(self, key, value):
          keys = list(self.keys())
          if key in keys:
              self.set_value(1,keys.index(key),str(value))
          else:
              self.set_value(0,len(self),   str(key))
              self.set_value(1,len(self)-1, str(value))