Book.php
added validation for
$yearPublished
$title