Sample codes of Replica Exchange MonteCarlo