update Permutations.java