Works, going to change what bfs returns