recursive call to get the next permutation of 1 to n-l

next(n-l,pdone);