Fix mutable default argument
Add visit to bfs