finish medium shunting yard, all tests pass