Broken Ballots: Will Your Vote Count? (CSLI-Lecture Notes)