LongestBalancedSubstring.java updated