Tested BFS/DFS Algorithm & Created test file to test the class