changed getInGroupMatches so corresponds to making 4 groups of 3 teams if there are 12 teams