Returns a bit vector of size total-size with exactly sample-sizebits set to 1. The one bits are selected uniformly at random. The algorithmis attributed to Robert Floyd by Jon Bentley in More Programming Pearls.