Updated library program

Removed repeated tests from if block in Library class borrow() method