A toy example to explain mcmc sampling in 1d for discrete distribution