shunting yard first attempt