How can you modify this Djikstra\'s algorithm to give the second shortest path? Another way I have done this function is using **G to pass a dynamically initialized 2D array