
xxxxxxxxxxmoveForward();moveForward();

xxxxxxxxxxmoveForward();turnLeft();moveForward();turnRight();moveForward();

xxxxxxxxxxwhile (notDone()) { moveForward();}

xxxxxxxxxxwhile (notDone()) { moveForward(); turnLeft(); moveForward(); turnRight();}

xxxxxxxxxxmoveForward();moveForward();turnLeft();while (notDone()) { moveForward();}

xxxxxxxxxxwhile (notDone()) { moveForward(); if (isPathLeft()) { turnLeft(); }}

xxxxxxxxxxwhile (notDone()) { moveForward(); if (isPathRight()) { turnRight(); }}

xxxxxxxxxxwhile (notDone()) { moveForward(); if (isPathLeft()) { turnLeft(); } if (isPathRight()) { turnRight(); }}

xxxxxxxxxxwhile (notDone()) { if (isPathForward()) { moveForward(); } else { if (isPathLeft()) { turnLeft(); } moveForward(); }}

xxxxxxxxxxwhile (notDone()) { if (isPathLeft()) { turnLeft(); moveForward(); } else { if (isPathForward()) { moveForward(); } else { turnRight(); } }}