Binary Heap Class
From the text: