Autonomous cars' coordination among legacy vehicles applied to safe braking