randomly-move-within-bounds abstraction.