Working on setting up BFS algo