take infix to postfix evaluation