Traverse

implemented DFS and BFS. DFS done recursively, BFS iteratively