From Steam to Speed: The Ever-Evolving Journey of Railways