added stack.pop() to all binary operations