added status to the ways in the shortest path