public class Verifier
{
    public static final String EXAMPLE_FILE = "example.txt";
    public static final int EXAMPLE_RESULT = 802;
    
    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    // consider adding expected dimensions of grid as an assertion?

    public boolean verify ()
    {
        boolean ok = false;
        Map theMap = new Map(EXAMPLE_FILE);

        if (_debug)
        {
            System.out.println("Loaded map "+theMap.getHeight()+" by "+theMap.getWidth());

            System.out.println("\nLoaded map ...\n\n"+theMap);
        }
        
        Asteroid bestLocation = theMap.getMonitoringStation();

        System.out.println("**best location "+bestLocation.getPosition());

        theMap.sortedTargets(bestLocation);

        return ok;
    }

    private boolean _debug;
}
@@ -1,12 +1,33 @@
+import java.util.*;%0A%0A
 public class
@@ -150,24 +150,83 @@
 = 802;%0A    %0A
+    public static final int TARGET_ASTEROID_NUMBER = 200;%0A%0A
     public V
@@ -814,16 +814,41 @@
 %0A       
+ Vector%3CTarget%3E results =
  theMap.
@@ -873,24 +873,166 @@
 Location);%0A%0A
+        Target theSpecificTarget = results.elementAt(TARGET_ASTEROID_NUMBER -1);%0A%0A        System.out.println(%22**target %22+theSpecificTarget);%0A%0A
         retu

Update Verifier.java