Helper function to take an array of elements and split it randomly into a number of subset lists
Source:R/shell.R
shellscriptSplitArrayIntoListRandomly.RdHelper function to take an array of elements and split it randomly into a number of subset lists