A simulation of a lattice gas (with conserved particle counts) using the Metropolis algorithm