Computer Simulations of Elections, With Applications to Understanding Electoral System Reform