Changes to DFS. Waiting for vertex class to be complete before more progress can be made