Update GridPuzzleSuccessorFunction.java