The recursive function evaluateTree() needs to adjust the operator depth that it looks for when it encounters a parenthesized subexpression. This hasn't been tested; it might even work as-is. If not, I am optimistic that this will be among the easier enhancements.
The recursive function evaluateTree() needs to adjust the operator depth that it looks for when it encounters a parenthesized subexpression. This hasn't been tested; it might even work as-is. If not, I am optimistic that this will be among the easier enhancements.