Alan's walk, implemented