static public void main(String[] args){
		//efficiency comparison
		Vector<Integer> container = new Vector<Integer>();
		Random rand = new Random(); 
		for(int i=0; i<2000000; i++)
			container.add(rand.nextInt());
		
		//Testing my priority queue
		long time = System.currentTimeMillis();
		MyPriorityQueue<Integer> test = new MyPriorityQueue<Integer>(10, false);
		for(Integer val:container)
			test.add(val);
		for(Integer i : test)
			System.out.println(i);
		System.out.println(System.currentTimeMillis()-time);
		
		//Testing the system one
		time = System.currentTimeMillis();
		PriorityQueue<Integer> test2 = new PriorityQueue<Integer>();
		for(Integer val:container)
			test2.add(val);
		
		for(int i=0; i<10; i++)
			System.out.println(test2.poll());
		System.out.println(System.currentTimeMillis()-time);
	}