Refactored BFS and DFS by moving methods from GraphTraversal as them as
appropriate. Stack and queue cleanup is still needed.