Update permutations.java