Inserts all values in the iterable type a immediately before the index i in list l.
The returned list will be as long as the size of l plus all values in a.
Returns:
lret - the list created by extending the input list.
Arguments:
l - the input list.
i - the index before which to insert values
a - the iterable type containing values to insert.