An algorithm to find an optimal path between settlements in Catan using graph theory.