A toy example of MCMC sampling in 1d
A toy example to sample in 1d to help mcmc algprithm