Defines sampling of random elements. Implementers must ensure that non-null random elements are sampled.
Returns an element randomly selected from the list
Returns sample of size from the list