Re-implemented random.pick()