Computer simulations of charged systems