Added a bfs based problem.