Create a function that updates the graph using the payoff matrix.
Create a function that updates the graph using the payoff matrix.