public class Verifier
{
    public static final String EXAMPLE = "example.txt";
    public static final String MINUTE_BASE = "minute";
    public static final String DUPLICATE_LAYOUT = "layout.txt";

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

    public final boolean verify ()
    {
        Grid theWorld = new Grid(EXAMPLE, _debug);
        Grid[] evolution = new Grid[4];

        if (_debug)
            System.out.println(theWorld);

        for (int i = 0; i < 4; i++)
        {
            evolution[i] = new Grid(MINUTE_BASE+""+(i+1)+".txt", _debug);
            theWorld.evolve();

            System.out.println("After "+(i+1)+" minute:");
            System.out.println(theWorld);

            if (!evolution[i].equals(theWorld))
                return false;
        }

        boolean found = false;
        Grid duplicate = new Grid(DUPLICATE_LAYOUT, _debug);
        Grid previous = theWorld.snapshot();

        while (!found)
        {
            theWorld.evolve();

            System.out.println("Comparing\n"+theWorld+"\nwith\n"+previous);
            
            if (previous.equals(theWorld))
                found = true;
            else
                previous = theWorld.snapshot();
        }

        if (previous.equals(duplicate))
            return true;

        return false;
    }

    private boolean _debug;
}
@@ -1,12 +1,33 @@
+import java.util.*;%0A%0A
 public class
@@ -926,20 +926,28 @@
         
+Vector%3C
 Grid
+%3E
  previou
@@ -942,32 +942,74 @@
 rid%3E previous = 
+new Vector%3CGrid%3E();%0A%0A        previous.add(
 theWorld.snapsho
@@ -1011,16 +1011,17 @@
 apshot()
+)
 ;%0A%0A     
@@ -1084,97 +1084,8 @@
 );%0A%0A
-            System.out.println(%22Comparing%5Cn%22+theWorld+%22%5Cnwith%5Cn%22+previous);%0A            %0A
     
@@ -1105,21 +1105,23 @@
 revious.
-equal
+contain
 s(theWor
@@ -1196,19 +1196,21 @@
 previous
- = 
+.add(
 theWorld
@@ -1220,16 +1220,17 @@
 apshot()
+)
 ;%0A      
@@ -1246,24 +1246,24 @@
     if (
-previous
+theWorld
 .equals(

Update Verifier.java