import java.util.*;

public class Verifier
{
    public static final String EXAMPLE_BASE = "example";

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

    public final boolean verify ()
    {
        Grid thePlane = new Grid(EXAMPLE_BASE+".txt", _debug);
        Grid[] evolution = new Grid[5];

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

        for (int i = 1; i < 6; i++)
        {
            if (_debug)
                System.out.println("Iteration: "+i);
                
            evolution[i] = new Grid(EXAMPLE_BASE+""+i+".txt", _debug);

            thePlane.evolve();

            System.out.println("\nAfter "+i+" round:");
            System.out.println(thePlane);

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

        return true;
    }

    private boolean _debug;
}
@@ -402,16 +402,16 @@
 i = 
-1
+0
 ; i %3C 
-6
+5
 ; i+
@@ -500,28 +500,16 @@
 : %22+
-i);%0A                
+(i+1));%0A
 %0A   
@@ -557,17 +557,21 @@
 BASE+%22%22+
-i
+(i+1)
 +%22.txt%22,
@@ -655,17 +655,21 @@
 After %22+
-i
+(i+1)
 +%22 round
@@ -669,16 +669,18 @@
 %22 round:
+%5Cn
 %22);%0A    

Update Verifier.java