Working prototype of walk.py