public ArrayList<MatchScheduling> scheduleQuarterFinals(ArrayList<Team> teams) throws SQLException
    {
        ArrayList<MatchScheduling> matches = new ArrayList();
        int i = 1;


        while (getGroup(i + 1, teams) != null)
        {
            ArrayList<Team> group = getGroup(i, teams);
            ArrayList<Team> group2 = getGroup(i + 1, teams);
            ArrayList<MatchScheduling> quarterFinalMatches = new ArrayList();

            /*
             * Round 7 (Quarter finals)
             */
            quarterFinalMatches.add(new MatchScheduling(7, group.get(0), group2.get(1)));
            quarterFinalMatches.add(new MatchScheduling(7, group2.get(0), group.get(1)));

            matches.addAll(quarterFinalMatches);
            i += 2;
            for (MatchScheduling matchScheduling : quarterFinalMatches)
            {
                db.addMatches(matchScheduling);
            }

        }
        return null;
    }