create book class
add class and print functions