made handleNumber and handleOperator independent, but with a logic bug...