BFS

It works!