Create train_swapping.cpp