Calculator baseline (from Chris Gutman's)
Add helper function to handle input and refresh display.
Working calculator (all tests pass)
Using a stack to support parentheses.