assignment function

Randomly assign blocked units to treatment conditions