def union(*dictionaries):
    """

    union of all entries in all of the dictionaries in the order provided where
    the last value of a given key in the provided dictionaries, will be the 
    value that is in the resulting dictionary. 
    
    Examples:
    --------
    > union({'a': 1}, {'a': 2})
    {'a': 2}

    > union({'a': 1}, {'b': 2})
    {'a': 1, 'b': 2}

    """
    result = {}
    for dictionary in dictionaries:
        result.update(dictionary)
    return result
