A steam locomotive switching tracks