prints out breadth-first