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 = 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;
        }

        return true;
    }

    private boolean _debug;
}
@@ -94,16 +94,73 @@
 xample%22;
+%0A    public static final int EXAMPLE_OCCUPIED_SEATS = 37;
 %0A%0A    pu
@@ -876,20 +876,245 @@
     
-return true;
+if (thePlane.occupiedSeats() == EXAMPLE_OCCUPIED_SEATS)%0A            return true;%0A        else%0A        %7B%0A            System.out.println(%22Incorrect number of occupied seats: %22+thePlane.occupiedSeats());%0A%0A            return false;%0A        %7D
 %0A   

Update Verifier.java