public static void rbbstTest() {
        for (int i = 0; i < 100; i++) {
            RBBST tree = new RBBST();

            Make make = new Make();
            ArrayList<Integer> list = make.list();

            for (int n = 0; n < list.size(); n++) {
                tree.insert(list.get(n));
                if (n % 10 == 0) {
                    statsInsRBBST.add(new Stats(n, tree.getComparisonsIns()));
                }
                tree.setComparisonsIns(0);
                //System.out.println(tree.toString());
            }
            //System.out.println(list.toString());
            list = make.shuffleList(list);
            //System.out.println(list.toString());
            for (int n = 0; n < list.size(); n++) {
                tree.delete(list.get(n));
                if (n % 10 == 0) {
                    statsDelRBBST.add(new Stats(n, tree.getComparisonsDel()));
                }
                tree.setComparisonsDel(0);
            }
            //System.out.println(tree.toString());
            //if (tree.empty()) {
            //    System.out.println("Completed");
            //}
        }
        System.out.println("Completed RB-BST");
    }