creates the initial permutation
initialize(n);