Program for random sampling in petri dishes