Selected topics in finite mathematics/Voting/Sequential runoffs

Objectives
To determine a winner by using an elimination system until one candidate is left standing.

Details
The sequential runoffs, aka the Hare method, is a method where you only look at the first choice votes first. You count all of the first place votes for every candidate and add up the votes that each candidate got. Once you add up all the votes, the lowest one is eliminated and so is that candidates spot in the preference list. Now you must make sure to move the remaining candidates in the preference list up a spot accordingly. For example, if B was ahead of C previously and B was eliminated in the first round, then you would move C up to where B was. Thus making C the first place vote and totally ignoring B because B is eliminated. Then you do the process again, you tally up all the remaining candidates first place votes and see who has the highest. Eliminate the last place votes and keep doing the process until one candidate is left.