refactored voting into a helper method
Merge pull request #7 from dustincfox/refactor_voting

refactored voting into a helper method