implemented getBooksByClass() in BookHelper.java