Breadth First Traversal Time Complexity