printing only 100 premutation numbers in iteration