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

    public static final Velocity EXAMPLE1_STEP2_MOON_2 = new Velocity(-2, 5, 6);
    public static final Velocity EXAMPLE1_STEP4_MOON1 = new Velocity(-3, -2, 1);
    public static final Coordinate EXAMPLE1_STEP7_MOON4 = new Coordinate(2, 0, 0);
    public static final Coordinate EXAMPLE1_STEP10_MOON3 = new Coordinate(3, -6, 1);
    public static final int EXAMPLE1_TOTAL_ENERGY = 179;

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

    public final boolean verify ()
    {
        return verifyExample1();
    }
    
    private final boolean verifyExample1 ()
    {
        boolean result = false;

        _activator = new MoonSystem(EXAMPLE1_DATA, _debug);

        if (_debug)
            System.out.println("Activated: "+_activator);
        
        for (int i = 0; i < 2; i++)
        {
            _activator.applyGravity();

            if (_debug)
            {
                System.out.println("Moon positions:\n"+_activator.moonCoordinates());
                System.out.println("Moon velocities:\n"+_activator.moonVelocities());
            }
        }

        System.out.println("Moon positions:\n"+_activator.moonCoordinates());
        System.out.println("Moon velocities:\n"+_activator.moonVelocities());

        Moon theMoon = _activator.getMoons().elementAt(1);
        Velocity theVelocity = theMoon.getVelocity();

        if (theVelocity.equals(EXAMPLE1_STEP2_MOON_2))
        {
            for (int i = 0; i < 2; i++)
            {
                _activator.applyGravity();
            }

            System.out.println("Moon positions:\n"+_activator.moonCoordinates());
            System.out.println("Moon velocities:\n"+_activator.moonVelocities());

            theMoon = _activator.getMoons().elementAt(0);
            theVelocity = theMoon.getVelocity();

            if (theVelocity.equals(EXAMPLE1_STEP4_MOON1))
            {
                result = true;
            }
        }

        return result;
    }

    private MoonSystem _activator;
    private boolean _debug;
}
@@ -712,20 +712,68 @@
 ;%0A    %7D%0A
+%0A
     
+// we don't check all the data, just a sample.%0A
 %0A    pri
@@ -2130,22 +2130,1080 @@
     
-result = true;
+for (int i = 0; i %3C 3; i++)%0A                %7B%0A                    _activator.applyGravity();%0A                %7D%0A%0A                System.out.println(%22Moon positions:%5Cn%22+_activator.moonCoordinates());%0A                System.out.println(%22Moon velocities:%5Cn%22+_activator.moonVelocities());%0A%0A                theMoon = _activator.getMoons().elementAt(3);%0A                Coordinate theCoordinate = theMoon.getPosition();%0A%0A                if (theCoordinate.equals(EXAMPLE1_STEP7_MOON4))%0A                %7B%0A                    for (int i = 0; i %3C 3; i++)%0A                    %7B%0A                        _activator.applyGravity();%0A                    %7D%0A%0A                    System.out.println(%22Moon positions:%5Cn%22+_activator.moonCoordinates());%0A                    System.out.println(%22Moon velocities:%5Cn%22+_activator.moonVelocities());%0A%0A                    theMoon = _activator.getMoons().elementAt(2);%0A                    theCoordinate = theMoon.getPosition();%0A%0A                    if (theCoordinate.equals(EXAMPLE1_STEP10_MOON3))%0A                        result = true;%0A                %7D
 %0A   

Update Verifier.java