Added data_gen1 and data_gen2.

It can generates random data sets according to model 1 and 2.