Two-dimensional Coulomb gas: A Monte Carlo study