Fix minor typo in Inventory pseudocode
Add exception throwing and handling for missing/corrupted book database