At the risk of being a naming nazi...is this just a test function to show off walking?  either the function should be 'testWalk' or the parameter should be 'dir'