level order traversal using BFS