add track (0,0) -> (-5,0) add track (-5,0) -> (-5,5) add switch (0,5) -> (0,0),(-5,5) list tracks set switch 3 position (0,0) list tracks add track (0,0) -> (5,0) create train-set A B 6 true true add train 1 A-B put train 1 at (0,5) in direction 0,1 step 1 put train 1 at (-5,5) in direction 0,3 step 1 delete train 1 delete rolling stock A-B create engine steam T1 Alpha 1 false false create engine electrical T1 Beta 1 false false add train 1 T1-Alpha add train 2 T1-Beta put train 1 at (0,5) in direction 0,1 put train 2 at (0,0) in direction 1,0 step 1 put train 1 at (0,0) in direction 0,-1 set switch 3 position (0,0) put train 1 at (0,0) in direction 0,-1 exit