@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Vector)) return false;

        Vector point = (Vector) o;

        if (x != point.x) return false;
        if (y != point.y) return false;

        return true;
    }