NextPermutation.java done