update WordBreak.java