Returns a random value from the list.
Array: Location of the list to get the value from
Output-location: Location to store the output data