WordBreakII.java updated