public synchronized void put(T el) {
		while (elements.size() == capacity){
			try {
				wait();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		elements.add(el);
		notify();
	}