Passed test with 3 unique books
Refactored if to match statement
Added test for 4 unique books