Chapters 4, 5, 6

Finally out of the background info and into the meat; yay heapsort!