Produces a new list by removing the value at the specified index.
Array: Location of the list to delete the element from Index: Index of the element to delete
Output-location: Location to store the output data