Add maxDepth solution with BFS algorithm.
Add maxDepth solution with BFS algorithm.