calculates the route netween two points