trains.cpp #1