Improved booleans: BalancedParentheses exercise