Forming a random permutation
A random position within an array is chosen and then removed.
Key commands are:
 	r=Math.floor(numq.length*Math.random());
	numq.splice(r,1)