Inserts separator between the elements of the list.
Array: Location of the list to add the value Element: The value to add between the elements
Output-location: Location to store the output data
Let’s say we have below a list
[a, b, c]
And the separator ‘d’ is inserted
[a, d, b, d, c]