BFS and DFS are convereted into classes in graphAlgo.py
ignore changes in main.py