Evaluate maths expression using shunting yard algorithm