code: def add_value(self, value, index_point):
          
          if index_point not in self.index:
              self.values.append(value)
              self.index.append(index_point)
docs: The function is addeing new value to provied index. If index does not exist