public  synchronized void append(String str) {
		try {
			//System.out.println(str);

			mutex.acquire();

			if (count == size) {
				full.wait();
			}
			buffer[last] = str;
			last = (last + 1) % size;
			count = count + 1;
			full.notify();
			full.release();
			mutex.release();
			
			for(String s : buffer){
			//	System.out.println(s);
			}
			
		} catch (InterruptedException e) {
			System.out.println("Failed To Add Item To Buffer");
		}
	}