public Vector(double x, double y) {
        this.x = x;
        this.y = y;
    }
    
    /**
     * Returns the x-value.
     * 
     * @return The x-value.
     */
    public double getX() {
        return this.x;
    }
    
    /**
     * Returns the y-value.
     * 
     * @return The y-value.
     */
    public double getY() {
        return this.y;