BFS with new line between each level of node using 1 queue