removed commented out line
search and replace mistake
method for converting a votetype to an int. Throws exception if votetype can not be represented as an int
method for estimating a vote result
method for checking if the current vote is valid