<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_d(l):
 """ Converts list of dicts to dict. """

    _d = {}
    for x in l:
        for k, v in x.items():
            _d[k] = v
    return _d