Given a list of available courses, a list of valid n-tuplets is generated. Each n-tuplet is a group of n courses that dont enter in conflict with each other.