import java.util.*;

public class Verifier
{
    public static final String EXAMPLE = "example.txt";
    public static final Coordinate EXAMPLE_COORDINATE = new Coordinate(17, -8);

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

    public boolean verify ()
    {
        Vector<Command> commands = Util.loadCommands(EXAMPLE, _debug);
        Ship theShip = new Ship(_debug);

        theShip.move(commands);

        if (_debug)
            System.out.println(theShip);

        if (EXAMPLE_COORDINATE.equals(theShip.getPosition()))
            return true;

        System.out.println("Invalid final ship position: "+theShip.getPosition());

        return false;
    }

    private boolean _debug;
}
@@ -173,16 +173,77 @@
 17, -8);
+%0A    public static final int EXAMPLE_MANHATTAN_DISTANCE = 25;
 %0A%0A    pu
@@ -626,26 +626,252 @@
     
-    return true;%0A%0A
+%7B%0A            if (theShip.getManhattanDistance() == EXAMPLE_MANHATTAN_DISTANCE)%0A                return true;%0A            %0A            System.out.println(%22Invalid Manhattan Distance: %22+theShip.getManhattanDistance());%0A        %7D%0A        else%0A    
     

Update Verifier.java