title: How to implement a breadth first search to a certain depth?
body: <p>I understand and can easily implement BFS.</p>
  
  <p>My question is, how can we make this BFS limited to a certain depth? Suppose, I just need to go 10 level deep.</p>