Create BFS traversal