Implementation of the Metropolis Monte Carlo method in as many languages as I know