A two-hundred year statistical history of the gerrymander