// Initializes the object for the results
Results results=new Results(ROWS);
// Creates an Grouper object
Grouper grouper=new Grouper(results);
// Creates the CyclicBarrier object. It has 5 participants and, when
// they finish, the CyclicBarrier will execute the grouper object
CyclicBarrier barrier=new CyclicBarrier(PARTICIPANTS,grouper);