Vertically align code
Use `traverse` instead of `traversal` in bfs and dfs functions