RouteList::iterator route = routes.begin();
if(advance_route(route, block))
{
// Check if the block is a turnout and set it to proper path
RouteList::iterator route = routes.begin();
if(advance_route(route, block))
{
// Check if the block is a turnout and set it to proper path