Code for Simple Stack Calc