Got BFS running from main.