add operator << for Point2D and vector<T>