depthFirstOf stores traversals in a List vs. Vector