<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sum(self, vector):
 """Return a Vector instance as the vector sum of two vectors."""

        return self.from_list(
            [x + vector.vector[i] for i, x in self.to_list()]
        )