In Permutation1.java, only do the swap if i is equal to j; adjusted indent as well