Create train.cpp