How to randomize trials, split into 2 halves, add break in the middle

Add the break as a separate routine which you skip if trials.thisN != 49 (where 49 is half your number of trials minus 1).