Update Permutations by X Wang.java