Added bfs

Added snippet bfs