first attempt for Next Permutation