A myopic random walk on a finite chain