The program simply checks if the phrase typed by you (at least 10-character long) is a quote from any of the texts in the base (the list called list_of_books).