Using Result object in my dijkstra.