private boolean modifiedDFS(int v) {
		if (getNodeById(v).visited == false) {
			getNodeById(v).visited = true;
			getNodeById(v).temp = true;
			for (int i : getNodeById(v).adjacencies) {
				if (!getNodeById(i).visited && modifiedDFS(i)) {
					possibleRemovals.put(v, i);
					return true;
				} else if (getNodeById(i).temp) {
					possibleRemovals.put(v, i);
					return true;
				}
			}
		}
		getNodeById(v).temp = false;
		return false;
	}