shuffle training set after each epoch.