added simple compiler and comments for the shunting-yard algorithm