Sejarah Lampu Lalu Lintas, Terinspirasi Sistem Kereta Api :