CVFolds function

Generate list of row numbers for each fold in the cross-validation