finished all except bfs