#run along each wall until a passage is found
right()
for i in range(4):
while look_left() != '':
forward()
Now here are several walls with passages each time further to the right.
Test your knowledge of the for and while loops!