BFS now working with prettier output!