import java.util.*;

public class Verifier
{
    public static final String EXAMPLE1 = "example1.txt";
    public static final int EXAMPLE1_ANSWERS = 6;

    public static final String EXAMPLE2 = "example2.txt";
    public static final int EXAMPLE2_ANSWERS = 11;
    
    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    public final boolean verify ()
    {
        Parser p = new Parser(_debug);
        Vector<Answers> answers = p.work(EXAMPLE1);

        System.out.println("Size: "+answers.size());
        
        return false;
    }

    private boolean _debug;
}
@@ -137,19 +137,117 @@
 LE1_
-ANSWERS = 6
+PEOPLE = 3;%0A    public static final int EXAMPLE1_ANSWERS = 6;%0A    public static final int EXAMPLE1_GROUPS = 1
 ;%0A%0A 
@@ -299,24 +299,74 @@
 mple2.txt%22;%0A
+    public static final int EXAMPLE2_PEOPLE = 11;%0A
     public s
@@ -400,24 +400,73 @@
 SWERS = 11;%0A
+    public static final int EXAMPLE2_GROUPS = 5;%0A
     %0A    pub
@@ -676,32 +676,435 @@
     
-System.out.println(%22Size
+if (answers.size() == EXAMPLE1_GROUPS)%0A        %7B%0A            Answers a = answers.elementAt(0);%0A%0A            if (a.numberOfPeopleInGroup() == EXAMPLE1_PEOPLE)%0A            %7B%0A                if (a.)%0A            %7D%0A            else%0A                System.out.println(%22Wrong number of people in group in EXAMPLE1: %22+a.numberOfPeopleInGroup());%0A        %7D%0A        else%0A            System.out.println(%22Wrong number of groups in EXAMPLE1
 : %22+
@@ -1120,24 +1120,16 @@
 ize());%0A
-        
 %0A       

Update Verifier.java