Expression evaluation using Shunting-yard algorithm