calculator with working input -- throws seg fault when  two operators are input in a row and when you get to the last two values in the stack (aka the last calculation of the expression)