What wrong in bfs code

@76vpsingh corrected and commented