Added method 'run_train' to class Train.