update PermutationSequence.java