Implement a basic recursive traversal function.
Merge pull request #7 from benjamn/traverse

Implement a basic recursive traversal function.