Removed new line from Book print function
Safe guard for publication year + single function for menu safe guard