DEF                 #
run                 #
m(                  m(
m)                  m)
move                move
turnRight           turnRight
turnLeft            turnLeft
pickMarker          pickMarker
putMarker           putMarker
r(                  r(
r)                  r)
R=0                 R=0
R=1                 R=1
R=2                 R=2
R=3                 R=3
R=4                 #
R=5                 #
R=6                 #
R=7                 #
R=8                 #
R=9                 #
R=10                #
R=11                #
R=12                #
R=13                #
R=14                #
R=15                #
R=16                #
R=17                #
R=18                #
R=19                #
REPEAT              REPEAT
c(                  c(
c)                  c)
i(                  i(
i)                  i)
e(                  e(
e)                  e)
IF                  IF
IFELSE              IFELSE
ELSE                ELSE
frontIsClear        frontIsClear
leftIsClear         leftIsClear
rightIsClear        rightIsClear
markersPresent      markersPresent
noMarkersPresent    noMarkersPresent
not                 not
w(                  w(
w)                  w)
WHILE               WHILE
