For future reference, Java != Javascript.

A loop does exactly what it sounds like: it loops through a section of code.

Did you want the people to change locations with each call to the...