BreathFirst search
Bfs - shortest  path implemented