For loop for cout book titles