Take votes and calculate the winner of an election.