Added the fillShortestPaths() method for the Snapshot class.