Splits the list at a given index.
Array: Location of the list to split Count: Index to make the split (index starts from zero)
Output-location: Location to store the output data