def merge(*dicts):
result = {}<EOL>for d in dicts:<EOL><INDENT>result.update(d)<EOL><DEDENT>return result<EOL>
Given any number of dicts, shallow copy and merge into a new dict,
    precedence goes to key value pairs in latter dicts.