Python exercise
Instructions: Create a book class. Initialise each book object with author, title, ISBN, publication year,number of pages. Define str method which displays information about the book. Define search method which searches by book or by author, through a dictionary attribute of the class which tracks the book objects created. Define two subclasses for different genres of books which override the default str method.