Add documentation and refactor a bit MinHeap.forEach