add_random_effect function

Add a random effect column for simulation