shuffle the training data