Create a `Vector` class with `x` and a `y` attributes that represent component magnitudes in the x and y directions.

Your vectors should handle vector additon with an `.add()` method that takes a second vector as an argument and returns a new vector equal to the sum of the vector you call `.add()` on and the vector you pass in.

For example:

```python
>>> a = Vector(3, 4)
>>> a.x
3
>>> a.y
4
>>> b = Vector(1, 2)
>>> c = a.add(b)
>>> c.x
4
>>> c.y
6
```

Adding vectors when you have their components is easy: just add the two x components together and the two y components together to get the x and y components for the vector sum.

Difficulty: introductory

Starter code:

def __init__(self, x, y):
	

Solutions:
class Vector(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
        
    def add(self, vector):
        return Vector(self.x + vector.x, self.y + vector.y)

class Vector(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
    
    def add(self, other):
        return Vector(self.x + other.x, self.y + other.y)

class Vector(object):
    def __init__(self, x, y): self._x, self._y = x, y
    @property
    def x(self):              return self._x
    @property
    def y(self):              return self._y
    def add(self, b):         return Vector(self._x+b.x, self._y+b.y)

class Vector(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
        
    def add(self, v):
        return Vector(self.x + v.x, self.y + v.y)

class Vector(object):
    def __init__(self, x, y):
        self.x, self.y = x, y

    def add(self, other):
        return Vector(self.x + other.x, self.y + other.y)


class Vector(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
        
    def add(self, other_vector):
        a = self.x + other_vector.x
        b = self.y + other_vector.y
        return Vector(a,b)


class Vector(object):
    def __init__(self, x, y):
        self.x, self.y = x, y
        
    def __add__(self, other):
        return Vector(self.x+other.x, self.y+other.y)
        
    def add(self, other):
        return self + other

class Vector(object):
    
    def __init__(self, x,y):
        self.x = x
        self.y = y
        
    def add(self, v):
        x = v.x + self.x
        y = v.y + self.y
        return Vector(x,y)


class Vector(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
    
    def add(self, other):
        x = self.x + other.x
        y = self.y + other.y
        return Vector(x, y)