added class that creates cross-validation training and validation sets corresponding to the number of folds supplied in the class arguments