Generating random booleans.
Implemented returning a shuffled sequence.