new Vector(double, double) constructor
get XYVector() method completed