<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def makeBiDirectional(d):
 """ Helper for generating tagNameConverter Makes dict that maps from key to value and back """

    dTmp = d.copy()
    for k in d:
        dTmp[d[k]] = k
    return dTmp