public static void main(String[] args){ //Main Method
		AG_Captor_Original cap = new AG_Captor_Original(); //Creates a new captor object
		cap.openDevice(1); //Opens the device 1
		List<Packet> buffer = Collections.synchronizedList(new ArrayList<Packet>()); //Creates a new list for the packets
		cap.acquirePackets(buffer, 10); //making it crash find the problem
		while(cap.getPacketsReceived() < 10){
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		cap.dispose(); //Closes the device and returns resources
	}