Implement optional requirement: Books should have optional attributes for year-published and edition