import java.util.*;

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

    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 = 0; i < 5; i++)
        {
            if (_debug)
                System.out.println("Iteration: "+(i+1));

            evolution[i] = new Grid(EXAMPLE_BASE+""+(i+1)+".txt", _debug);

            thePlane.evolve();

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

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

        if (thePlane.occupiedSeats() == EXAMPLE_OCCUPIED_SEATS)
            return true;
        else
        {
            System.out.println("Incorrect number of occupied seats: "+thePlane.occupiedSeats());

            return false;
        }
    }

    private boolean _debug;
}
@@ -152,10 +152,10 @@
 S = 
-37
+26
 ;%0A%0A 
@@ -366,17 +366,17 @@
 ew Grid%5B
-5
+6
 %5D;%0A%0A    
@@ -466,9 +466,9 @@
 i %3C 
-5
+6
 ; i+

Update Verifier.java