public static void main(String[] args) {
        BinaryHeap heap = new BinaryHeap();
        int[] b = {94, 85, 64, 47, 49, 50, 31, 46, 35, 19 };
        for (int i = 1; i <= b.length; i++) {
             heap.a[i] = b[i-1];
        }
        heap.N = b.length;
        heap.insert(78);
        heap.insert(10);
        heap.insert(25);
        for (int i = 0; i <= heap.N; i++) {
            System.out.print(heap.a[i]);
            System.out.print(' ');
        }
        System.out.println();
        
        b = new int[] {85, 79, 78, 71, 76, 11, 18, 19, 68, 54 };
        heap.a = new int[100];
        for (int i = 1; i <= b.length; i++) {
             heap.a[i] = b[i-1];
        }
        heap.N = b.length;
        System.out.println(heap.delMax());
        System.out.println(heap.delMax());
        System.out.println(heap.delMax());
        for (int i = 0; i <= heap.N + 1; i++) {
            System.out.print(heap.a[i]);
            System.out.print(' ');
        }
        System.out.println();
    }