Create a vector given by two points. The user selects two points. The first point is the origin; the second one is the extremity.