physics simulation of 2 trains colliding.