Circular Queue used for BFS finished