Homework 4 to create a heap, heapify, delete from the middle of the heap, and reheapify