public static void main(String[] args) {
        List<Interval> result = new ArrayList<Interval>();
        Interval a = new Interval(1,5);
        Interval b = new Interval(6,8);
        result.add(a);

        result = new Insert_Interval().insert(result, b);
        for(int i = 0 ; i< result.size();i++)
            System.out.println(result.get(i).toString());


    }