private void selectAndSpillValue() {
        Value spill = null;
        int maxEdges = 0;
        for(Entry<Value, HashSet<Value>> v  : adjacencyList.entrySet()) {
            if(v.getValue().size() > maxEdges) {
                spill = v.getKey();
                maxEdges = v.getValue().size();
            }
        }
        deleteNode(spill);
    }