simplified reversed_code dict

There's no need to reverse a dictionary by hand. ;)