I\'ve got the function below, taken from this thread: How to ensure two different vectors are shuffled in the same order in C++?
void Dataset::shuffle() {