Quick refresher on iterative/recursive graph traversal