Your criteria are somewhat vague.
You stated that it must "go a particular distance and return to the same spot again." does this mean return to the "spot" it originated from, or the "spot" it arrived at after going "a particular distance"?
Unless you are to include some type of inertial...