<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_vertex(self):
 """Creates and returns a new vertex. Returns: A new Vertex instance with a unique index. """

    vertex = Vertex(len(self.vertices))
    self.vertices.append(vertex)
    return vertex