new function:  connecting the dots with the nearest-neighbour heuristics