Complete walk

The agent now stops after completing a full circuit. I also made the
print map fn nicer so only that which is needed gets printed.