Implement a simple reverse traversal.