<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setgraphval(delta, graph, key, val):
 """Change a delta to say that a graph stat was set to a certain value"""

    delta.setdefault(graph, {})[key] = val