Update WordPuzzleSuccessorFunction.java