Screwing with Heap more, fixing errors

printHeap changes the value of the heap after the first time or doesn't
print them on consecutive tries.