<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def increment(d, key, val=1):
 """ increment dict d at key by amount val no need to return since d is mutable """

    if key in d:
        d[key] += val
    else:
        d[key] = val