public Node removeMinF()
    {
        Node min = null;
        for (Node n : index.values())
            if (min == null || n.getF() < min.getF())
                min = n;
        
        remove(min);
        return min;
            
    }