Add example of modified shunting yard to handle functions