Removed the numBooks variable as it was not needed with Books being an ArrayList.