updated readme with BFS method for graph