Some comments, added averaging for DFS/BFS