Adds the toString functionality to Book and CollectionOfBooks