public List <DomainNode> getAscDomain()
        {
            var list = from element in table
                       orderby element.head.remClass ascending
                       select element.head;

            CourseHash        cHash = new CourseHash(1);
            List <DomainNode> dList = new List <DomainNode>();

            foreach (HashNode <T> hN in list)
            {
                DomainNode dN = new DomainNode(hN.crsID, hN.secID, cHash.getSecAls(hN.crsID, hN.secID));
                dList.Add(dN);
            }
            return(dList);
        }
        public List <DomainNode> getMinClashHeads()
        {
            var clashes = from element in Set
                          orderby element.count ascending
                          select element.head;

            CourseHash        cHash = new CourseHash(1);
            List <DomainNode> dList = new List <DomainNode>();

            foreach (Clash c in clashes)
            {
                DomainNode dNode = new DomainNode(c.CrsID, c.secID, cHash.getSecAls(c.CrsID, c.secID));
                dList.Add(dNode);
            }
            //List<Clash> list = new List<Clash>(clashes.ToArray());
            return(dList);
        }