public class MovementLogic
{
    public static final int ROUTINE_A = 0;
    public static final int ROUTINE_B = 1;
    public static final int ROUTINE_C = 2;
    public static final int ROUTINE_D = 3;

    public static final String MOVE_LEFT = "L";
    public static final String MOVE_RIGHT = "R";

    public MovementLogic (Map theMap)
    {
        _theMap = theMap;
    }

    public void createMovementFunctions ()
    {

    }

    public void createMovementRoutine ()
    {
        
    }

    /*
     * Create path using only L and R.
     */

    private void createPath ()
    {
        Coordinate currentPosition = new Coordinate(_theMap.findStartingPoint());
        
        if (currentPosition != null)
        {
            
        }
        else
            System.out.println("Robot not found!");
    }

    private Map _theMap;
}
@@ -1,12 +1,33 @@
+import java.util.*;%0A%0A
 public class
@@ -350,16 +350,31 @@
 p theMap
+, boolean debug
 )%0A    %7B%0A
@@ -399,16 +399,77 @@
 theMap;%0A
+        _path = new Stack%3CString%3E();%0A        _debug = debug;%0A
     %7D%0A%0A 
@@ -937,9 +937,70 @@
 theMap;%0A
+    private Stack%3CString%3E _path;%0A    private boolean _debug;%0A
 %7D

Update MovementLogic.java