Added BFS search using queue