added Breadth First Search method to Graph.Entity.graph