Break into cpp and h files. Create a class "Heap".