Added methods for getting and processing votes.

Still need to test them!
Tested calcStats
Added tests for getAllVotes() and calculate stats