Implement a Max Heap in C++