Simulations of counterions at charged plates