one_unit function

Simulate one unit in the simple process