create train.rb