code for generating a synthetic dataset for benchmarking purpose