getting started on tree traversal