Update next_permutation.java