public boolean equals (Book book) { // equals method to compare books
		if (title.equalsIgnoreCase(book.getTitle()) && // if all fields match between the 2 books...
				authorFirstName.equalsIgnoreCase(book.getAuthorFirstName()) &&
				authorLastName.equalsIgnoreCase(book.getAuthorLastName()) &&
				category.equalsIgnoreCase(book.getCategory()) &&
				isbn.equalsIgnoreCase(book.getIsbn()) &&
				cost == book.getCost() &&
				rating.equalsIgnoreCase(book.getRating())) {
			return true;
		}
		return false;
	}