public void addBook(Book book){
		books.add(book);
		//check for new words or authors
		checkUniqueWords(book.getTitle());
		checkUniqueAuthor(book.getAuthor());
		

		int bookPage = book.getNumPages();
		int bookYear = book.getPubYear();
		
		//Update min and max page for this set of book data
		if(minPage==-1){
			//if minPage has not been set, set it to this book
			minPage = bookPage;
			maxPage = bookPage;
		}else{
			//Check if this book has the min or max pages
			if(bookPage<minPage){
				minPage = bookPage;
			}
			if(bookPage>maxPage){
				maxPage = bookPage;
			}
		}
		
		//update the min and max year for this set of book data
		if(minYear ==-1){
			//if min and max year have not been set, set it to 
			//this book
			minYear = bookYear;
			maxYear = bookYear;
		}else{
			//check if this book has the min and max pub. year
			if(bookYear<minYear){
				minYear=bookYear;
			}
			if(bookYear>maxYear){
				maxYear=bookYear;
			}
		}
	}