added shuffle function for randomizing stimuli in subexperiments