if there is an opening bracket and we encounter closing bracket then it will decrement the count of unbalanced bracket .
if ( unbalancedPair > 0 and s [ i ] == ' ] ' ) : NEW_LINE INDENT unbalancedPair -= 1 ; NEW_LINE DEDENT