generate.data function

Function to Randomly Generate Data (with Constraints)