import java.util.*;

public class Verifier
{
    public static final String EXAMPLE1_DATA = "example1.txt";
    public static final String EXAMPLE2_DATA = "example2.txt";

    public static final int EXAMPLE1_REPEAT_TIME = 2772;
    public static final long EXAMPLE2_REPEAT_TIME = 4686774924L;

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

    public final boolean verify ()
    {
        return verifyExample1() || verifyExample2();
    }

    // we don't check all the data, just a sample.

    private final boolean verifyExample1 ()
    {
        boolean result = false;
        
        _activator = new MoonSystem(EXAMPLE1_DATA, _debug);

        System.out.println("**got back "+_activator.periodicity());

        return result;
    }

    private final boolean verifyExample2 ()
    {
        boolean result = false;
        
        _activator = new MoonSystem(EXAMPLE2_DATA, _debug);

        System.out.println("**got back "+_activator.periodicity());
        
        return result;
    }

    private MoonSystem _activator;
    private boolean _debug;
}
@@ -685,32 +685,137 @@
 DATA, _debug);%0A%0A
+        long%5B%5D periods = _activator.periodicity();%0A%0A        for (int i = 0; i %3C periods.length; i++)%0A    
         System.o
@@ -843,32 +843,33 @@
 k %22+
-_activator.periodicity()
+periods%5Bi%5D+%22 for axis %22+i
 );%0A%0A
@@ -1042,32 +1042,137 @@
 DATA, _debug);%0A%0A
+        long%5B%5D periods = _activator.periodicity();%0A%0A        for (int i = 0; i %3C periods.length; i++)%0A    
         System.o
@@ -1200,32 +1200,33 @@
 k %22+
-_activator.periodicity()
+periods%5Bi%5D+%22 for axis %22+i
 );%0A 

Update Verifier.java