rename method name from find to set(_predecessors)
from G to self.G; G is the graph for each NetworkAgent instance
method to get precessors and assign them to each node (agent)
pep8
call from main to assign precessors to each agent in network of agents