Given a set of coordinates, this script (in 3 steps) generates all posibilities between these and gives you a CSV with these possibilites in order of time duration (generated through the Google Maps API).