@Override
	public void run() {
		while(!Thread.currentThread().isInterrupted()) {
			int i = new Random().nextInt(10);
			queue.put(i);
			System.out.println("Put: " + i);
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}