Random selection from a set of objects