graph traversal -> depth first search and breadth first search iterative and recursive