An implementation of the Shunting-Yard Algorithm