COmpiler Timeout codev4 and vexcode v5

I am trying to teach 2-dimensional arrays using python; and a student is getting timeout on the compiler.

The code causing the timeout follows;. The behavior is, the student hits the build button, it takes a few moments and then the dialog above pops up. No other errors. Any guidance?
The drivetrain is configured.

# Library imports
from vex import *

list = [["S",4], ["L",90],  ["S",3],  ["R",90],  ["S",4],  ["R",143], ["S",10],  ["R",127], ["S",3], ["E",1234]]
for i in list:
    if i[0] == "S":
        drivetrain.drive_for(FORWARD,i[1],INCHES)
    elif i[0] == "L":
        drivetrain.turn_for(LEFT,i[1],DEGREES)
    elif i[0] == "R":
        drivetrain.turn_for(RIGHT,i[1],DEGREES)
    else:
        brain.program_stop()