train_test_assign function

Training and testing split