Description of shunting yard algorithm