added the code for BFS for graphs by constructing a sensible graph structure
added DFS for graphs
added code for Topological sort