next permutation forget update while loop condition = =