print method and insert method complete. it is possible to insert 1 book