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