A set of utility functions to generate random data