def add_value(self, value, index_point):
if index_point not in self.index:<EOL><INDENT>self.values.append(value)<EOL>self.index.append(index_point)<EOL><DEDENT>
The function is addeing new value to provied index. If index does not exist