wrote function to construct stimuli; simplified random_search by categorizing runs by stimulus type