I know this is late and I’m sorry but on with the assignment.
The code that I wrote is…
moveForward()
moveForward()
turnLeft()
collectGem()
moveForward()
toggleSwitch()
I had to fix bugs on this one. That was the stage that I screenshot this at.