display parentheses, display multiple programs in stack