Java Bfs Example With Solution