This would be a perfect example of the system of barter as you are trading one book for the other. You can see from here what barter is, a trading system which involves direct exchange of goods without some kind of medium of exchange, for example money. Services can also be traded this way.