update PermutationsI.java class