Library returns available books; implemented available_books array to return selected books method with status='available'