code: function lset(index, value) {
    if(index < 0) index = this._data.length + index;
    // command should validate the index
    if(index < 0 || index >= this._data.length) return null;
    this._data[index] = value;
  }
docs: Sets the list element at index to value.