Universal Markov chain sampler