Implemented BFS for printing fibheaps