add MCMC class.
use srand() in MCMC