private boolean voteIsValid(long[] vote) {
		boolean voted = false;
		for(int i = 0; i < vote.length; i++) {
			if(vote[i] == 1) {
				if(voted) {
					return false;
				}
				voted = true;
			} else if(vote[i] != 0) {
				return false;
			}
		}
		return true;
	}