def run(*args, initial=None):
    """Creates and runs the pipe calling functions in given sequence.

    Args:
        *args: functions to call in sequence
        initial: argument to the first function (pipe argument)

    Returns:
        result of the last function called

    """
    data = initial
    for fun in args:
        data = fun(data)
    return data