Switching systems for classification yards