I\'m working on a homework assignment and was having trouble figuring out this section that requires me to find the shortest distance between two vertices of a graph. I foun