my implementation of walk

I think a few things were missing:
walk doesn't have a this object bind to it
step isn't incremented
locations is not defined