This function can be used to get randomized objects of various sorts.
The object random is a method function with options.