Updated walk so it returns a direction, cursor pair.