## Lost in the Moria

You buggles got stuck in the mines of Moria! Some rocks are blocking the exit, and you will have to clear your way to the exit. Well of course these are only baggles and you could simply walk away, but it will be easier to program the buggles so that they move those "rocks" than convincing them to walk away without solving the problem. Dwarfs are sometimes really stubborns...

So, you have to find the first baggle blocking the exit (simply walk to the east until you are over a baggle), take it and move it back to the other side of the tunnel (walk to the west while you are not over a baggle, and then move back one step to the east and drop your baggle), and iterate until you find the exit (that is, the wall to the east side). Afterward, move out as in the objective world. That's only a few more steps away.

To make things worse, you have to write a program that works for every buggle, even if writing a specific program for each of them would be easier. It seems that using `while` loops is the only solution to move the buggles correctly.

Once you manage to escape this trap, you can move forward to the next exercise. This exercise is a bit more complex, so you can also leave it for now and come back later if you don't get it right now.