Explain the cost of a path between two nodes
Given a network of nodes linked by bidirectional links, where every link has a cost associated with it in each direction, explain the cost of a path between two nodes as the sum of the costs of the links traversed. For every pair of nodes, find a path with the least cost.