changed the method to set the graph for each ant
modified how each ant is run on a graph