Press the green flag, and move the boxes around. The boxes communicate "wirelessly" and recognize their closest neighboor and its direction.