Read about shortest paths: G&T 398-408