Fixed #9 issue - now BFS on graph is implemented.