shuffle data before creating training/test, handle spaces