Program 3 homework, create a heap with heap functions and measure the time it takes to sort the heap