Pass a list of cities name in a pipe separated format and get the shortest route.