Using a graph to calcuate distance between 'ant colonies'.