Update NextPermutation.java