@@ -0,0 +1,2091 @@
+import java.util.*;%0A%0A/*%0A * Aft Scaffolding Control and Information Interface.%0A */%0A%0Apublic class Verifier %0A%7B%0A    public static final String EXAMPLE = %22R,8,R,8,R,4,R,4,R,8,L,6,L,2,R,4,R,4,R,8,R,8,R,8,L,6,L,2%22;%0A%0A    public static void main (String%5B%5D args)%0A    %7B%0A        boolean debug = false;%0A%0A        for (int i = 0; i %3C args.length; i++)%0A        %7B%0A            if (%22-help%22.equals(args%5Bi%5D))%0A            %7B%0A                System.out.println(%22Usage: %5B-debug%5D %5B-help%5D%22);%0A                System.exit(0);%0A            %7D%0A%0A            if (%22-debug%22.equals(args%5Bi%5D))%0A                debug = true;%0A        %7D%0A%0A        Vector%3CString%3E values = IntcodeUtil.readValues(INSTRUCTIONS);%0A        Camera theCamera = new Camera(values, debug);%0A        Image theImage = theCamera.takePicture();%0A        %0A        if (debug)%0A        %7B%0A            System.out.println(theCamera);%0A%0A            Vector%3CCoordinate%3E intersections = theCamera.scanForIntersections();%0A            Enumeration%3CCoordinate%3E iter = intersections.elements();%0A%0A            while (iter.hasMoreElements())%0A            %7B%0A                System.out.println(%22Intersection at: %22+iter.nextElement());%0A            %7D%0A        %7D%0A%0A        Map theMap = new Map(theImage, debug);%0A        VacuumRobot theRobot = new VacuumRobot(theMap, IntcodeUtil.readValues(INSTRUCTIONS), debug);%0A%0A        // print the camera's image/map%0A        %0A        System.out.println(theMap);%0A%0A        MovementLogic ml = new MovementLogic(theMap, debug);%0A%0A        Vector%3CMovementFunction%3E functions = ml.createMovementFunctions();%0A%0A        if (functions.size() != MovementLogic.NUMBER_OF_FUNCTIONS)%0A            System.out.println(%22Got the wrong number of functions: %22+functions.size());%0A        else%0A        %7B%0A            if (debug)%0A            %7B%0A                for (int i = 0; i %3C MovementLogic.NUMBER_OF_FUNCTIONS; i++)%0A                %7B%0A                    System.out.println(%22Function %22+(i+1)+%22 is %22+functions.elementAt(i));%0A                %7D%0A            %7D%0A%0A            System.out.println(%22Routine is %22+ml.getMainRoutine(functions));%0A        %7D%0A    %7D%0A%0A    private ASCII ()%0A    %7B%0A    %7D%0A%7D

Create Verifier.java