reset $x = 1 while $x < 50 { forward $x turnright 20 wait .1 $x = $x + 1 }