Pritchard's classic likelihood-free rejection sampler