Removes duplicate lists
Array: Location of the data element to remove duplicate lists
Output-location: Location to store the output data