All it takes is 24 lines of code to rig an election