randomize train/valid sets