public void append(WordData word) {
		lock.lock();
		try {
			//Buffer Full Wait for slot to open
			while (count == buffer.length) {
				empty.await();
			}
			
			//Put WordData in buffer
			buffer[appendPointer] = new WordData(word.getWord(), word.getLineNumber() , word.getFileName() );
			appendPointer++;
			
			//Again Mod function can return negative numbers so I did my own
			if(appendPointer == buffer.length){
				appendPointer = 0;
			}
			//Increment the number of items in buffer
			count++;
			
			//Signal their is a new item to be removed
			full.signal();
		} catch (Exception e) {
			System.out.println("APPEND ERROR");
		}
		lock.unlock();

	}