example Book class code for the quiz