Laufengd_Heap_Turnin

Then you need to update index and p before going back to the top of the loop.