How to Steal an Election