bfs compiles, not yet functional