creates initial permutation

initialize(n);