Add Metropolis Hasting support in C++

need C++