make_2way_data function

Make one-way or two-way independent group or randomised block design data.