It is not homework. It is just some curiosity of mine.
What I want to do is find the point (x,y), that has the smallest sum of distances to a series of points (x_{1},y_{1}), (x_{2},y_{2}), (x_{3},y_{3}), ...,(x_{n},y_{n}). Something like a centre of gravity.
I don't need just the result, I...