Well, I have spent over 8 hours working on this. I have copied the example from the book verbatim, as well as trying to implement the heap based on other resources online. 222 more words