<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assoc(_d, key, value):
 """Associate a key with a value in a dictionary :param _d: a dictionary :param key: a key in the dictionary :param value: a value for the key :returns: a new dictionary {'name': 'Holy Grail'} {} .. note:: the original dictionary is not modified """

    d = deepcopy(_d)
    d[key] = value
    return d