Program to check expressions from user input for balanced parentheses (includes '()', '[]', '{}', '<>') using a stack