function p=GenerateShuff(m)

for i=1:2:2*m-1
    p(:,i)=geneVector(2*m,(i+1)/2);
end
for i=2:2:2*m
    p(:,i)=geneVector(2*m,i/2+m);
end

function p=geneVector(m,n)
p(m)=0;p=p';
p(n)=1;
