First bfs searching and markup (working examples: 2, 3)
Merge pull request #1 from alfanick/first_bfs

First bfs searching and markup (working examples: 2, 3)