toy stack-based calculator