Shunting-yard algorithm for parsing infix expression implemented