Redirecting you to http://en.wikipedia.org/wiki/Breadth-first_search