SingleSourceShortestPaths example