balanced_brackets.java