On the shortest path through a number of points