Add next_permutation.java