@Test
    public void heapTest(){
     long start = System.currentTimeMillis();
        for (int i = 0; i < 1000000; i++){
            heap.insert(i);
        }
        
     
        long end = System.currentTimeMillis();
        long totaltime = end - start;
        System.out.println("Time spent adding 1 000 000: " + totaltime + "ms = " + (totaltime*1.0)/1000 + "s"); 
        
}