equals(vector) {
        return this._x === vector.x && this._y === vector.y;
    }
Checks if 2 vectors are equal

     params:
     @vector (Vec2): vector to compare

     returns:
     @isEqual (bool): whether the vectors are equals or not
*