private Integer Majority(Hashtable<Integer, Integer> decisions) {
		HashMap<Integer, Integer> frequency = new HashMap<Integer, Integer>();
		// include process itself in deciding majority
		frequency.put(p.getX(), 1);
		for (Integer each : decisions.values()) {
			int f = 0;
			if (frequency.containsKey(each)) {
				f = frequency.get(each);
			}
			frequency.put(each, f + 1);
		}
		Integer maxKey = null;
		Integer maxValue = 0;
		for (int key : frequency.keySet()) {
			if (frequency.get(key) > maxValue) {
				maxValue = frequency.get(key);
				maxKey = key;
			}
		}
		return maxKey;
	}