Shunting yard algorithm finished