import java.util.*;

public class Verifier
{
    public static final String EXAMPLE_DATA = "example.txt";

    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    public boolean verify ()
    {
        Vector<Category> cats = Util.loadCategories(EXAMPLE_DATA, _debug);
        Vector<Ticket> ticks = Util.loadTickets(EXAMPLE_DATA, _debug);

        for (int i = 0; i < cats.size(); i++)
            System.out.println(cats.elementAt(i));

        for (int j = 0; j < ticks.size(); j++)
            System.out.println(ticks.elementAt(j));

        return false;
    }

    private boolean _debug;
}
@@ -351,24 +351,58 @@
 , _debug);%0A%0A
+        if (_debug)%0A        %7B%0A    
         for 
@@ -431,24 +431,28 @@
 ize(); i++)%0A
+    
             
@@ -491,32 +491,36 @@
 t(i));%0A%0A        
+    
 for (int j = 0; 
@@ -546,32 +546,36 @@
 ++)%0A            
+ 
+   
 System.out.print
@@ -597,16 +597,313 @@
 tAt(j));
+%0A        %7D%0A%0A        for (int k = 0; k %3C ticks.size(); k++)%0A        %7B%0A            for (int l = 0; l %3C cats.size(); l++)%0A            %7B%0A                if (!cats.elementAt(l).valid(ticks.elementAt(k)))%0A                    System.out.println(ticks.elementAt(k)+%22 is invalid.%22);%0A            %7D%0A        %7D
 %0A%0A      

Update Verifier.java