adding initial generic support for voting sytem, implementing plurality voting and using this new method to compute the tally