BFS added.
DFS added.
More docstrings.
Topological sorting based on DFS.